package com.isaac.actm.util;

import com.isaac.actm.domain.pojo.User;

public class PojoInstanceFactory {

    public static final long USER_ID = 123l;

    static public User createPersistentUser() {
        User user = new User();
        user.setId(USER_ID);
        user.setName("ybak");
        user.setPassword("520811");
        user.setConfirmPassword("520811");
        return user;
    }
    
    static public User createTransientUser() {
        User user = new User();
        user.setName("ybak");
        user.setPassword("520811");
        user.setConfirmPassword("520811");
        return user;
    }
}
